import React from 'react';
import { Hoc } from './hoc';
import Child from './child';
import Son from './son';

const WithChild = Hoc(Child);
export default function index() {
  return (
    <div>
      <div>高阶组件绑定的方法</div>
      <WithChild title="112233" />
      <Son />
    </div>
  );
}

//https://blog.csdn.net/qq_44163269/article/details/107403673
